home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-01-31 | 1.8 KB | 36 lines | [TEXT/R*ch] |
- DBPanel 0.91
-
- This app is copyright © 1993 Matthew Dixon Cowles and his licensors. All rights
- reserved. It is free. Please use it if you like it and use ideas and code from it
- in your own apps, but if it is distributed substantially complete, only a nominal
- download or duplication fee may be charged.
-
- Differences from version 0.9: Changed PD button to cycle through -1 and 0 in
- addition to 1, 2, and 3.
-
- As usual, this app appears to work for me. That does not mean that it is
- bug-free. Use it at your own risk. No warranties are expressed, implied, or even
- hinted at.
-
- DBPanel allows the user to set the trace, breakOnThrows, and printDepth debug
- globals without having to type into the inspector window.
-
- The simplest thing to do is to run DBPanel and then run the app under test. As
- long as that app isn't based on a floating view, the floater should remain
- accessible. The floater can be moved by dragging so as to avoid obscuring the
- interesting parts of the app underneath.
-
- I wrote DBPanel after seeing a similar app (by The Object Partnership? I confess
- that I can't recall the name exactly) that saved one from having to find a pause
- in the inspector output in which to type "trace:=NIL", which I often mis-type
- anyway. I took the idea a little farther, adding the breakOnThrows and printDepth
- globals and a viewIdleScript that keeps the checkboxes in sync if you do change
- the values by typing in the inspector window. The checkbox Trace sets and
- indicates the whether trace is set to NIL or 'functions, the BoT checkbox sets
- and indicates whether breakOnThrows is set to NIL or TRUE, and the PD button
- cycles the printDepth global through -1, 0, 1, 2, 3 and back to -1.
-
- As usual, please send comments, bug reports, expressions of praise, and lucrative
- job offers to AppleLink address MONDO (MONDO@applelink.apple.com) or NewtonMail
- address MattC (MattC@online.apple.com).
-